<?php
define('BONE_ROOT', dirname(__FILE__) );
define( 'DS', DIRECTORY_SEPARATOR );

require( BONE_ROOT.DS.'system'.DS.'tool.php' );
require( BONE_ROOT.DS.'system'.DS.'bone.php' );
require( BONE_ROOT.DS.'system'.DS.'worker.php' );

$worker = new worker();
$worker->start();
$worker->work();
$worker->stop();
?>
